#ifndef _B_PLUS_TREE_
#define _B_PLUS_TREE_ 1

#include "Node.h"
#include "table.h"

class BPlusTree {
public:
    BPlusTree(const char* filename): table(filename) {}
    bool isFull()  { return table.isFull(); }
    bool isEmpty() { return table.isEmpty(); }
    void insert();
    void select();
private:
    Cursor* find();
private:
    Table table;
};

#endif